<? echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
<rss version="2.0">
<? echo $rss -> channel(null,array('title'=>__('RSS_TITLE',true).' - '.__('RSS_NEWS_TITLE',true),'description'=>__('RSS_NEWS_DESCRIPTION',true).' '.__('PAGE_ADDRESS',true))); ?>
<?
	foreach ($news as $data) 
	{		
		echo $rss -> item(null,array('title'=>$data['News']['title'],'author'=>$data['User']['name'].' ' . $data['User']['email'],'pubDate'=>$data['News']['created'],'description'=>$data['News']['text'],'guid'=>'/news/'.$date -> niceShort($data['News']['created'],'Y/m/d').'/'.$data['News']['seo_link']));	
	}
?>
</channel>
</rss>